package com.tsingteng.cosfun.widget.dialog.adapter;

import android.view.View;
import android.widget.TextView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.tsingteng.cosfun.R;
import com.tsingteng.cosfun.bean.JoinCostarBean;
import com.tsingteng.cosfun.bean.VideoSectionBean;

/**
 * 描述 :
 * 创建人: 肖利.
 * 时间:2018/10/14
 * qq(872179966)
 */

public class OrderNumberAdapter extends BaseQuickAdapter<VideoSectionBean,BaseViewHolder> {
    public OrderNumberAdapter() {
        super(R.layout.item_number_adapter);
    }


    @Override
    protected void convert(BaseViewHolder helper, VideoSectionBean item) {
        TextView textView = helper.getView(R.id.tv_number);
        textView.setText(helper.getAdapterPosition()+"");
    }
}
